package com.gbx.ximalayating.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;

import com.gbx.ximalayating.R;

public class BroadcastActivity extends AppCompatActivity {

    private Toolbar tool;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_broadcast);
        Intent intent = getIntent();
        String title = intent.getStringExtra("title");
        tool = (Toolbar) findViewById(R.id.tool);
        tool.setTitle(title);
        setSupportActionBar(tool);
    }
}
